
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _SOCKET_SOCKET_H
#define _SOCKET_SOCKET_H

#include <stdbool.h>
#include <glib.h>
#include <glib-object.h>
#include "tcp.h"
#include "udp.h"

#define SOCKET_SOCKET_TYPE (socket_socket_get_type())

G_DECLARE_FINAL_TYPE(SocketSocket, socket_socket, SOCKET, SOCKET, GObject)

SocketSocket *socket_socket_new(void);
void socket_driver__print_hex2(const char *pre, const char *next,
    const uint8_t *buffer, size_t size);
void socket_driver__print_hex(const char *pre,
    const uint8_t *buffer, size_t size);

#endif //_SOCKET_SOCKET_H
